home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 126-150 / scopedisk132 / algorhythms / source / musicserial.h < prev    next >
C/C++ Source or Header  |  1995-03-19  |  731b  |  24 lines

  1. /* musicserial.h */
  2. /* for AlgoRhythms.c by Thomas E. Janzen */
  3. #include    "devices/serial.h"
  4. #include    "proto/exec.h"
  5. #include    "exec/devices.h"
  6.  
  7. #define STARTFUNCT (0)
  8. #define STOPFUNCT (1)
  9. #define CLOCKFUNCT (2)
  10. #include "AlgoRhythms.h"
  11.  
  12. void Open_MIDI_Port(void);
  13. int WriteSer(struct IOExtSer *io,char *data,int length);
  14. void PlayNoteOn(const struct NoteEvent *PlayEvent);
  15. void PlayNoteOff(const struct NoteEvent *StopEvent);
  16. void SendFunction(int Function);
  17. void StopMIDI(void);
  18. void StopAllNotes(const struct NoteEvent NotestoStop[]);
  19.  
  20. int SetParams(struct IOExtSer *io,unsigned long rbuf_len,
  21.     unsigned char rlen,unsigned char wlen,unsigned long brk,
  22.     unsigned long baud,unsigned char sf,
  23.     unsigned long ta0,unsigned long ta1);
  24.